<template>
    <div>
        <div class="infoBox">
          <img src="./state/未登录头像.svg" alt="">
          <button>登录 / 注册</button>
        </div>
    </div>
</template>

<script setup>

</script>

<style scoped>
.infoBox {
    width: 90%;
    background-image: linear-gradient(to bottom right, #008674, #9ebcb4);
    margin: 0 auto;
    height: 170px;
    border-radius: 10px;
    position: relative;
}
.infoBox img{
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%,-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #fff;
}
.infoBox button{
    position: absolute;
    left: 50%;
    top: 80%;
    transform: translate(-50%,-50%);
    width: 130px;
    height: 35px;
    border-radius: 25px;
    border: 1px solid;
    background-color: #ffffff00;
    color: #ffffff;
}
</style>